﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Infra.Common.Enums;

namespace Infra.Common.Database
{
    /// <summary>
    /// Summary description for ConnectionInfo.
    /// </summary>
    public class ConnectionInfo
    {
        public ConnectionInfo()
        {
            //
            // TODO: Add constructor logic here
            //
            _ConnectionString = "";
            _ServerType = DBServerType.SQLServer;
        }
        public string ConnectionString
        {
            get
            {
                return _ConnectionString;
            }
            set
            {
                _ConnectionString = value;
            }
        } private string _ConnectionString;

        public string ServerName
        {
            get
            {
                return _ServerName;
            }
            set
            {
                _ServerName = value;
            }
        } private string _ServerName;

        public string UserName
        {
            get
            {
                return _UserName;
            }
            set
            {
                _UserName = value;
            }
        } private string _UserName;

        public string Password
        {
            get
            {
                return _Password;
            }
            set
            {
                _Password = value;
            }
        } private string _Password;

        public string Database
        {
            get
            {
                return _Database;
            }
            set
            {
                _Database = value;
            }
        } private string _Database;

        public DBServerType ServerType
        {
            get
            {
                return _ServerType;
            }
            set
            {
                _ServerType = value;
            }
        } private DBServerType _ServerType;

    }
}
